Callback

interface Callback<T>

Generic interface for async callbacks

Parameters

<T>

the type of the callback parameter

Functions

Link copied to clipboard
abstract fun onComplete(results: T)
Method to be invoked after a async operation is complete
Link copied to clipboard
abstract fun onFailure(e: Throwable)